package com.xls.dormitoryservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xls.base.model.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xls.base.vo.StudentVo;
import com.xls.dormitoryservice.vo.StudentQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
public interface StudentService extends IService<Student> {

    boolean saveStudent(Student student);

    boolean updateStudent(Student student);

    Page<StudentVo> getStudentPage(Integer page, Integer limit, StudentQuery studentQuery);

}
